//package com.hwbsite.hwbback.config;
//
//import com.hwbsite.hwbback.service.CommonService;
//import org.springframework.http.HttpMethod;
//import org.springframework.security.authentication.AuthenticationManager;
//import org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter;
//import org.springframework.security.web.servlet.util.matcher.PathPatternRequestMatcher;
//
//public class LoginAuthFilter extends AbstractAuthenticationProcessingFilter {
//
//    public LoginAuthFilter(AuthenticationManager authenticationManager,
//                           CommonService tokenStore) {
//        super(new PathPatternRequestMatcher("/auth/token", HttpMethod.POST), authenticationManager);
//        this.tokenStore = tokenStore;
//    }
//}
